<div class="layui-form" lay-filter="layuiadmin-form-tags" id="layuiadmin-form">
    <div class="layui-form-item">
        <label class="layui-form-label">投票人</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="number" name="uid" value="{{ d.params.uid || '' }}" lay-verify="required"
                       placeholder="请输入..." autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">被投票人</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="number" name="touid" value="{{ d.params.touid || '' }}" lay-verify="required"
                       placeholder="请输入..." autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">投票留言</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="comment" value="{{ d.params.comment || '' }}"
                       placeholder="请输入..." autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="layuiadmin-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>
<script>
    layui.use(['form', 'helper', 'laytpl', 'upload', 'element'], function () {
        var form = layui.form,
            $ = layui.$,
            setter = layui.setter,
            helper = layui.helper;
        form.render('select');
    });
</script>